%ifndef __NASMX_WINFAX_INC__
%define __NASMX_WINFAX_INC__

IMPORT FaxAbort, 8
IMPORT FaxAccessCheck, 8
IMPORT FaxClose, 4
IMPORT FaxCompleteJobParamsA, 8
IMPORT FaxCompleteJobParamsW, 8
IMPORT FaxConnectFaxServerA, 8
IMPORT FaxConnectFaxServerW, 8
IMPORT FaxEnableRoutingMethodA, 12
IMPORT FaxEnableRoutingMethodW, 12
IMPORT FaxEnumGlobalRoutingInfoA, 12
IMPORT FaxEnumGlobalRoutingInfoW, 12
IMPORT FaxEnumJobsA, 12
IMPORT FaxEnumJobsW, 12
IMPORT FaxEnumPortsA, 12
IMPORT FaxEnumPortsW, 12
IMPORT FaxEnumRoutingMethodsA, 12
IMPORT FaxEnumRoutingMethodsW, 12
IMPORT FaxFreeBuffer, 4
IMPORT FaxGetConfigurationA, 8
IMPORT FaxGetConfigurationW, 8
IMPORT FaxGetDeviceStatusA, 8
IMPORT FaxGetDeviceStatusW, 8
IMPORT FaxGetJobA, 12
IMPORT FaxGetJobW, 12
IMPORT FaxGetLoggingCategoriesA, 12
IMPORT FaxGetLoggingCategoriesW, 12
IMPORT FaxGetPageData, 24
IMPORT FaxGetPortA, 8
IMPORT FaxGetPortW, 8
IMPORT FaxGetRoutingInfoA, 16
IMPORT FaxGetRoutingInfoW, 16
IMPORT FaxInitializeEventQueue, 20
IMPORT FaxOpenPort, 16
IMPORT FaxPrintCoverPageA, 8
IMPORT FaxPrintCoverPageW, 8
IMPORT FaxRegisterRoutingExtensionW, 24
IMPORT FaxRegisterServiceProviderW, 16
IMPORT FaxSendDocumentA, 20
IMPORT FaxSendDocumentForBroadcastA, 20
IMPORT FaxSendDocumentForBroadcastW, 20
IMPORT FaxSendDocumentW, 20
IMPORT FaxSetConfigurationA, 8
IMPORT FaxSetConfigurationW, 8
IMPORT FaxSetGlobalRoutingInfoA, 8
IMPORT FaxSetGlobalRoutingInfoW, 8
IMPORT FaxSetJobA, 16
IMPORT FaxSetJobW, 16
IMPORT FaxSetLoggingCategoriesA, 12
IMPORT FaxSetLoggingCategoriesW, 12
IMPORT FaxSetPortA, 8
IMPORT FaxSetPortW, 8
IMPORT FaxSetRoutingInfoA, 16
IMPORT FaxSetRoutingInfoW, 16
IMPORT FaxStartPrintJobA, 16
IMPORT FaxStartPrintJobW, 16
IMPORT FaxUnregisterServiceProviderW, 4

%ifdef UNICODE

%define FaxCompleteJobParams FaxCompleteJobParamsW
%define FaxConnectFaxServer FaxConnectFaxServerW
%define FaxEnableRoutingMethod FaxEnableRoutingMethodW
%define FaxEnumGlobalRoutingInfo FaxEnumGlobalRoutingInfoW
%define FaxEnumJobs FaxEnumJobsW
%define FaxEnumPorts FaxEnumPortsW
%define FaxEnumRoutingMethods FaxEnumRoutingMethodsW
%define FaxGetConfiguration FaxGetConfigurationW
%define FaxGetDeviceStatus FaxGetDeviceStatusW
%define FaxGetJob FaxGetJobW
%define FaxGetLoggingCategories FaxGetLoggingCategoriesW
%define FaxGetPort FaxGetPortW
%define FaxGetRoutingInfo FaxGetRoutingInfoW
%define FaxPrintCoverPage FaxPrintCoverPageW
%define FaxSendDocument FaxSendDocumentW
%define FaxSendDocumentForBroadcast FaxSendDocumentForBroadcastW
%define FaxSetConfiguration FaxSetConfigurationW
%define FaxSetGlobalRoutingInfo FaxSetGlobalRoutingInfoW
%define FaxSetJob FaxSetJobW
%define FaxSetLoggingCategories FaxSetLoggingCategoriesW
%define FaxSetPort FaxSetPortW
%define FaxSetRoutingInfo FaxSetRoutingInfoW
%define FaxStartPrintJob FaxStartPrintJobW

%else  ;// ANSI

%define FaxCompleteJobParams FaxCompleteJobParamsA
%define FaxConnectFaxServer FaxConnectFaxServerA
%define FaxEnableRoutingMethod FaxEnableRoutingMethodA
%define FaxEnumGlobalRoutingInfo FaxEnumGlobalRoutingInfoA
%define FaxEnumJobs FaxEnumJobsA
%define FaxEnumPorts FaxEnumPortsA
%define FaxEnumRoutingMethods FaxEnumRoutingMethodsA
%define FaxGetConfiguration FaxGetConfigurationA
%define FaxGetDeviceStatus FaxGetDeviceStatusA
%define FaxGetJob FaxGetJobA
%define FaxGetLoggingCategories FaxGetLoggingCategoriesA
%define FaxGetPort FaxGetPortA
%define FaxGetRoutingInfo FaxGetRoutingInfoA
%define FaxPrintCoverPage FaxPrintCoverPageA
%define FaxSendDocument FaxSendDocumentA
%define FaxSendDocumentForBroadcast FaxSendDocumentForBroadcastA
%define FaxSetConfiguration FaxSetConfigurationA
%define FaxSetGlobalRoutingInfo FaxSetGlobalRoutingInfoA
%define FaxSetJob FaxSetJobA
%define FaxSetLoggingCategories FaxSetLoggingCategoriesA
%define FaxSetPort FaxSetPortA
%define FaxSetRoutingInfo FaxSetRoutingInfoA
%define FaxStartPrintJob FaxStartPrintJobA

%endif  ;// UNICODE

%endif  ;// __NASMX_WINFAX_INC__
